package com.techysky;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@SpringBootApplication
@Controller
@Order(1)
public class HomeApp  {
	public static void main(String[] args) {
		SpringApplication.run(HomeApp.class, args);
	}
	
	@RequestMapping("/{page}")
	public String page(@PathVariable("page") String page){
		return page;
	}
}
